package com.bit.cfdi.web.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.bit.cfdi.web.domain.MetodoPago;
import com.bit.cfdi.web.domain.Negocio;

public interface MetodoPagoDAO {
	
	public MetodoPago getByDescription(String description) throws DataAccessException;
	
	public List<MetodoPago> getAll() throws DataAccessException;
	
	public void save(final MetodoPago metodoPago) throws DataAccessException;
	
	public List<MetodoPago> getAllDefault() throws DataAccessException;
	
	public List<MetodoPago> getByNegocio(Negocio negocio) throws DataAccessException;
	
	public MetodoPago getByDescriptionDefatul(String description) throws DataAccessException;
	
	public MetodoPago getByDescriptionNegocio(String description, Negocio negocio) throws DataAccessException;
	
}